package com.zhl.entity;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable {
    /*private Integer id;
    private String name;
    private Integer score;
    private String gender;
    private Date datetime;

    public User() {
    }

    public User(Integer id, String name, Integer score, String gender, Date datetime) {
        this.id = id;
        this.name = name;
        this.score = score;
        this.gender = gender;
        this.datetime = datetime;
    }
    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", score=" + score +
                ", gender='" + gender + '\'' +
                ", datetime=" + datetime +
                '}';
    }
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Date getDatetime() {
        return datetime;
    }

    public void setDatetime(Date datetime) {
        this.datetime = datetime;
    }*/
    private Integer userId;
    private String userName;
    private Integer userScore;
    private String userGender;
    private Date userDateTime;

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userScore=" + userScore +
                ", userGender='" + userGender + '\'' +
                ", userDateTime='" + userDateTime + '\'' +
                '}';
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserScore() {
        return userScore;
    }

    public void setUserScore(Integer userScore) {
        this.userScore = userScore;
    }

    public String getUserGender() {
        return userGender;
    }

    public void setUserGender(String userGender) {
        this.userGender = userGender;
    }

    public Date getUserDateTime() {
        return userDateTime;
    }

    public void setUserDateTime(Date userDateTime) {
        this.userDateTime = userDateTime;
    }

    public User(Integer userId, String userName, Integer userScore, String userGender, Date userDateTime) {
        this.userId = userId;
        this.userName = userName;
        this.userScore = userScore;
        this.userGender = userGender;
        this.userDateTime = userDateTime;
    }
}
